'use strict'

const express =require('express');

//0.0 将accountController.js导入
let accountCtrl = require('../controller/accountController.js');

let route = express.Router();

//1.0 route添加路由字符串

route.get('/index',accountCtrl.index);
route.get('/read/:vid',accountCtrl.read);
route.get('/ups/:vid',accountCtrl.ups);
route.get('/downs/:vid',accountCtrl.downs);

//暴露route
module.exports = route;
